<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
   
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>这是汽车首页</title>
</head>
<body>
	<table>
		<tr>
		<th>编号</th>
		<th>价格</th>
		<th>地域</th>
		<th>车色</th>
		<th>编辑</th></tr>
		<c:forEach begin="0"  end="${one.size()-1 }" var="a">
		<tr>
		<td>${one[a].id }</td>
		<td>${one[a].price }</td>
		<td>${one[a].area }</td>
		<td>${one[a].colour }</td>
		<td><a href="del" >删除<td></tr>
		
		</c:forEach> 
		<%-- a接受List存储的对象
		<c:forEach items="${one }" var="a">
		<tr>
		<td>${a.id }</td>
		<td>${a.price }</td>
		<td>${a.area}</td>
		<td>${a.colour }</td></tr>
		
		</c:forEach>  --%>
	</table>
	<a href="add">添加数据</a>

	
	
	
</body>
</html>